Page({
  data:{
    notifyDetail :{}
  },
  onLoad({id}){
   this.getNotifyDetail(id)
  },
 async getNotifyDetail(id){
    if(!id) return
    const {code,data:notifyDetail} = await wx.http({
      url:`/announcement/${id}`
    })
    this.setData({
      notifyDetail
    })

  }
  
})